#include "myapplication.h"

#include <QDebug>

MyApplication::MyApplication(int argc, char *argv[])
    : QApplication(argc, argv)
{

}

bool MyApplication::notify(QObject *obj, QEvent *e)
{
    qDebug() << "notify中对所有的事件做了拦截";
    return QApplication::notify(obj, e);
}
